﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Ser_ExtraServicesCollection : List<Ser_ExtraServices>
    { 
       public int IndexOf(Ser_ExtraServices item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Ser_ExtraServices item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Ser_ExtraServices this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Ser_ExtraServices item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Ser_ExtraServices item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Ser_ExtraServices[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Ser_ExtraServices item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Ser_ExtraServices> GetEnumerator()
        {
            return base.GetEnumerator();
        }   
    }
    public class Ser_ExtraServices
    {
        private int _IdExtra;

        public int IdExtra
        {
            get { return _IdExtra; }
            set { _IdExtra = value; }
        }
        private string _ExtraCode;

        public string ExtraCode
        {
            get { return _ExtraCode; }
            set { _ExtraCode = value; }
        }
        private string _ExtraName;

        public string ExtraName
        {
            get { return _ExtraName; }
            set { _ExtraName = value; }
        }
        private string _Description;

        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }
        private double _Cash;

        public double Cash
        {
            get { return _Cash; }
            set { _Cash = value; }
        }
        private DateTime _CreateDate;

        public DateTime CreateDate
        {
            get { return _CreateDate; }
            set { _CreateDate = value; }
        }
        private DateTime _UpdateDate;

        public DateTime UpdateDate
        {
            get { return _UpdateDate; }
            set { _UpdateDate = value; }
        }
        private int _CreateBy;

        public int CreateBy
        {
            get { return _CreateBy; }
            set { _CreateBy = value; }
        }
        private int _UpdateBy;

        public int UpdateBy
        {
            get { return _UpdateBy; }
            set { _UpdateBy = value; }
        }
        private Boolean _IsPay;

        public Boolean IsPay
        {
            get { return _IsPay; }
            set { _IsPay = value; }
        }
        private Boolean _Status;

        public Boolean Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
        private int _IdRoom;

        public int IdRoom
        {
            get { return _IdRoom; }
            set { _IdRoom = value; }
        }
    }
}
